home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / lib / partman / update.d / 60biosgrub_visuals < prev    next >
Text File  |  2009-10-28  |  345b  |  26 lines

  1. #!/bin/sh
  2.  
  3. . /usr/share/debconf/confmodule
  4.  
  5. dev=$1
  6. num=$2
  7. id=$3
  8. size=$4
  9. type=$5
  10. fs=$6
  11. path=$7
  12. name=$8
  13.  
  14. cd $dev
  15.  
  16. [ -f $id/method ] || exit 0
  17. method=$(cat $id/method)
  18.  
  19. case "$method" in
  20.     biosgrub)
  21.     db_metaget partman/method_short/biosgrub description || RET=''
  22.     printf "${RET:-biosgrub}" >$id/visual_filesystem
  23.     >$id/visual_mountpoint
  24.     ;;
  25. esac
  26.